const sidebar = require('./config/sidebar')
module.exports = {
  "title": "WhiteWater_blog",
  "description": "记录我的学习",
  "port": 8181,
  "dest": "public",
  plugins: [
    // 流程图插件
    ['flowchart'],
    // 标签加强
    ["vuepress-plugin-boxx" ],
    // 动态标题
    ["dynamic-title",
      {
        showIcon: "vuepress/smile.ico",
        showText: "(/≧▽≦/)欢迎帅哥美女！",
        hideIcon: "vuepress/cry.ico",
        hideText: "(●—●)呜呜，不要走嘛！！",
        recoverTime: 2000
      }],
    // 代码复制弹窗插件
    ["vuepress-plugin-nuggets-style-copy", {
      copyText: "复制代码",
      tip: {
          content: "复制成功!"
      }
    }],
    // Boxx 插件，名人名言
    ["vuepress-plugin-boxx"]
  ],
  permalink: "/:year/:month/:day/:slug",
  "head": [
    // 网页标签栏图标
    ["link", {
      "rel": "icon",
      "href": "/favicon.ico"
    }],
    // 移动栏优化
    ["meta", {
      "name": "viewport",
      "content": "width=device-width,initial-scale=1,user-scalable=no"
    }],
    // 引入jquery
    ["script", {
      "language": "javascript",
      "type": "text/javascript",
      "src": "https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"
    }],
    // 引入鼠标点击脚本
    ["script", {
      "language": "javascript",
      "type": "text/javascript",
      "src": "/js/MouseClickEffect.js"
    }]
  ],
  "theme": "reco",
  "themeConfig": {
    "nav": [
      {
        "text": "主页",
        "link": "/",
        "icon": "reco-home"
      },
      {
        "text": "文档",
        "icon": "reco-message",
        "items": [
          {
            "text": "数据结构与算法之美",
            "link": "/docs/DataStructure-And-Algorithm/"
          },
          {
            "text": "《ES6 教程》笔记",
            "link": "/docs/ES6-course/"
          },
          {
            "text": "面试常考",
            "link": "/docs/Interview/"
          },
          {
            "text": "JS基础汇总",
            "link": "/docs/Basics/"
          }
        ]
      },
      {
        "text": "时间戳",
        "link": "/timeline/",
        "icon": "reco-date"
      },
      {
        "text": "宝藏网站",
        "icon": "reco-coding",
        "items": [
          {
            "text": "云旅游",
            "link": "http://www.airpano.com/"
          },
          {
            "text": "AI音乐推荐",
            "link": "https://www.gnoosic.com/faves.php"
          },
          {
            "text": "格式转换",
            "link": "https://www.alltoall.net/"
          },
          {
            "text": "免费音乐",
            "link": "http://tool.liumingye.cn/music/"
          },
          {
            "text": "免费壁纸",
            "link": "https://wallhaven.cc/"
          },
          {
            "text": "在线流程图",
            "link": "https://online.visual-paradigm.com/cn/diagrams/features/flowchart-tool/"
          },
          {
            "text": "万事指南",
            "link": "https://zh.wikihow.com/%E9%A6%96%E9%A1%B5"
          }
        ]
      },
      {
        "text": "链接",
        "icon": "reco-message",
        "items": [
          {
            "text": "GitHub",
            "link": "https://github.com/Layganmqum",
            "icon": "reco-github"
          },
          {
            "text": "Gitee",
            "link": "https://gitee.com/laygamqun",
            "icon": "reco-mayun"
          }
        ]
      }
    ],
    // 侧边栏
    "sidebar": sidebar,
    lastUpdated: 'Last Updated',
    "type": "blog",
    "blogConfig": {
      "category": {
        "location": 2,
        "text": "前端"
      },
      "tag": {
        "location": 4,
        "text": "标签"
      }
    },
    "friendLink": [
      {
        "title": "午后南杂",
        "desc": "Enjoy when you can, and endure when you must.",
        "email": "1156743527@qq.com",
        "link": "https://www.recoluan.com"
      },
      {
        "title": "vuepress-theme-reco",
        "desc": "A simple and beautiful vuepress Blog & Doc theme.",
        "avatar": "https://vuepress-theme-reco.recoluan.com/icon_vuepress_reco.png",
        "link": "https://vuepress-theme-reco.recoluan.com"
      }
    ],
    "valineConfig": {
      "appId": "xxx",// your appId
      "appKey": "xxx", // your appKey
      "avatar": "", //
      "enableQQ": true, //启用昵称框自动获取QQ昵称和QQ头像
      "requiredFields": ['nick', 'mail'], //设置必填项
    },
    "logo": "/logo.png",
    "search": true,
    "searchMaxSuggestions": 10,
    "lastUpdated": "Last Updated",
    "author": "WhiteWater",
    "authorAvatar": "/avatar.png",
    "record": "粤ICP备2021011165号-1", //icp备案
    "startYear": "2020",
    "info": "半路出家的前端程序员，喜欢好看的UI设计"
  },
  "markdown": {
    "lineNumbers": true
  }
}